public class StringBufferDemo{
    StringBuffer str;
    public char charAt(int i) {
        return str.charAt(i);
    }
    public String[] split(String r){
        String [] results =  r.split(",");
        for (String string : results) {
            System.out.println(string);
        }
        return results;
    }
}
